// 分文件隔定义异步路由，统一在 async/index导入后由router/index合并
// 角色管理路由
// import Layout from '@/layout'
import Layout from "@/layout/index";

export const customersRouter = [{
		path: "/",
		component: Layout,
		name: "/home",
		meta: {
			title: "首页",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "/Home",
			component: () => import("@/views/home/home"),
			name: "/Home",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/sysUserManage",
		component: Layout,
		name: "/sysUserManage",
		meta: {
			title: "用户管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "/sysUserManage",
			component: () => import("@/views/sysUserManage/sysUserManage"),
			name: "/sysUserManage",
			meta: {
				title: "用户管理",
				icon: "el-icon-s-help",
				affix: true
			},
		}, ],
	},
	{
		path: "/memberManage",
		component: Layout,
		name: "/memberManage",
		meta: {
			title: "会员管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "/memberManage",
			component: () => import("@/views/memberManage/memberManage.vue"),
			name: "/memberManage",
			meta: {
				title: "会员管理",
				icon: "el-icon-s-help",
				affix: true
			},
		}, ],
	},
	{
		path: "/crmUserAddress",
		component: Layout,
		name: "/crmUserAddress",
		meta: {
			title: "会员地址管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmUserAddress",
			component: () => import("@/views/crmUserAddress/crmUserAddress"),
			name: "crmUserAddress",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/memberLevelManage",
		component: Layout,
		name: "/memberLevelManage",
		meta: {
			title: "团队等级管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "memberLevelManage",
			component: () => import("@/views/memberLevelManage/memberLevelManage"),
			name: "memberLevelManage",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmStoreProduct",
		component: Layout,
		name: "/crmStoreProduct",
		meta: {
			title: "商品管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmStoreProduct",
			component: () => import("@/views/crmStoreProduct/crmStoreProduct"),
			name: "crmStoreProduct",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmStoreCategory",
		component: Layout,
		name: "/crmStoreCategory",
		meta: {
			title: "商品分类管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmStoreCategory",
			component: () => import("@/views/crmStoreCategory/crmStoreCategory"),
			name: "crmStoreCategory",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmOrder",
		component: Layout,
		name: "/crmOrder",
		meta: {
			title: "订单管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmOrder",
			component: () => import("@/views/crmOrder/crmOrder"),
			name: "crmOrder",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmOrderRefunds",
		component: Layout,
		name: "/crmOrderRefunds",
		meta: {
			title: "退款审核",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmOrderRefunds",
			component: () => import("@/views/crmOrderRefunds/crmOrderRefunds"),
			name: "crmOrderRefunds",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmBusiness",
		component: Layout,
		name: "/crmBusiness",
		meta: {
			title: "商家管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmBusiness",
			component: () => import("@/views/crmBusiness/crmBusiness"),
			name: "crmBusiness",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmBrands",
		component: Layout,
		name: "/crmBrands",
		meta: {
			title: "商城商品管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmBrands",
			component: () => import("@/views/crmBrands/crmBrands"),
			name: "crmBrands",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmBanner",
		component: Layout,
		name: "/crmBanner",
		meta: {
			title: "轮播图管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmBanner",
			component: () => import("@/views/crmBanner/crmBanner"),
			name: "crmBanner",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmMessage",
		component: Layout,
		name: "/crmMessage",
		meta: {
			title: "公告管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmMessage",
			component: () => import("@/views/crmMessage/crmMessage"),
			name: "crmMessage",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/companyBank",
		component: Layout,
		name: "/companyBank",
		meta: {
			title: "对公账号管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "companyBank",
			component: () => import("@/views/companyBank/companyBank"),
			name: "companyBank",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/offlinePayLogManage",
		component: Layout,
		name: "/offlinePayLogManage",
		meta: {
			title: "对公转账审核",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "offlinePayLogManage",
			component: () =>
				import("@/views/offlinePayLogManage/offlinePayLogManage"),
			name: "offlinePayLogManage",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmOrderComment",
		component: Layout,
		name: "/crmOrderComment",
		meta: {
			title: "订单评价管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmOrderComment",
			component: () => import("@/views/crmOrderComment/crmOrderComment"),
			name: "crmOrderComment",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/signInAllocationManage",
		component: Layout,
		name: "/signInAllocationManage",
		meta: {
			title: "签到配置管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "signInAllocationManage",
			component: () =>
				import("@/views/signInAllocationManage/signInAllocationManage"),
			name: "signInAllocationManage",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/cloudStoreApplyForAudit",
		component: Layout,
		name: "/cloudStoreApplyForAudit",
		meta: {
			title: "云店申请审核",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "cloudStoreApplyForAudit",
			component: () =>
				import("@/views/cloudStoreApplyForAudit/cloudStoreApplyForAudit"),
			name: "cloudStoreApplyForAudit",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/cloudStoreManage",
		component: Layout,
		name: "/cloudStoreManage",
		meta: {
			title: "云店管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "cloudStoreManage",
			component: () => import("@/views/cloudStoreManage/cloudStoreManage"),
			name: "cloudStoreManage",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/sysRoleManage",
		component: Layout,
		name: "/sysRoleManage",
		meta: {
			title: "角色管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "sysRoleManage",
			component: () => import("@/views/sysRoleManage/sysRoleManage"),
			name: "sysRoleManage",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/sysMenuManage",
		component: Layout,
		name: "/sysMenuManage",
		meta: {
			title: "菜单管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "sysMenuManage",
			component: () => import("@/views/sysMenuManage/sysMenuManage"),
			name: "sysMenuManage",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/sysVariableMange",
		component: Layout,
		name: "/sysVariableMange",
		meta: {
			title: "商城订单管理",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "sysVariableMange",
			component: () => import("@/views/sysVariableMange/sysVariableMange"),
			name: "sysVariableMange",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/relation",
		component: Layout,
		name: "/relation",
		meta: {
			title: "会员关系",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "relation",
			component: () => import("@/views/relation/relation"),
			name: "relation",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/memberPointsManage",
		component: Layout,
		name: "/memberPointsManage",
		meta: {
			title: "积分收支记录",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "memberPointsManage",
			component: () =>
				import("@/views/memberPointsManage/memberPointsManage"),
			name: "memberPointsManage",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmFavorites",
		component: Layout,
		name: "/crmFavorites",
		meta: {
			title: "商品收藏记录",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmFavorites",
			component: () => import("@/views/crmFavorites/crmFavorites"),
			name: "crmFavorites",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmAccount",
		component: Layout,
		name: "/crmAccount",
		meta: {
			title: "余额变动记录",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmAccount",
			component: () => import("@/views/crmAccount/crmAccount"),
			name: "crmAccount",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/crmStoreCart",
		component: Layout,
		name: "/crmStoreCart",
		meta: {
			title: "购物车记录",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "crmStoreCart",
			component: () => import("@/views/crmStoreCart/crmStoreCart"),
			name: "crmStoreCart",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/transferAccountsInfoManage",
		component: Layout,
		name: "/transferAccountsInfoManage",
		meta: {
			title: "购物车记录",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "/transferAccountsInfoManage",
			component: () =>
				import(
					"@/views/transferAccountsInfoManage/transferAccountsInfoManage"
				),
			name: "/transferAccountsInfoManage",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/eggChangeRecord",
		component: Layout,
		name: "/eggChangeRecord",
		meta: {
			title: "鸡蛋变动记录",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "/eggChangeRecord",
			component: () =>
				import(
					"@/views/eggChangeRecord/eggChangeRecord"
				),
			name: "/eggChangeRecord",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/adoptionVoucherChangeRecord",
		component: Layout,
		name: "/adoptionVoucherChangeRecord",
		meta: {
			title: "认养卷变动记录",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "/adoptionVoucherChangeRecord",
			component: () =>
				import(
					"@/views/adoptionVoucherChangeRecord/adoptionVoucherChangeRecord"
				),
			name: "/adoptionVoucherChangeRecord",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/consumptionVolumeChangeRecord",
		component: Layout,
		name: "/consumptionVolumeChangeRecord",
		meta: {
			title: "消费卷变动记录",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "/consumptionVolumeChangeRecord",
			component: () =>
				import(
					"@/views/consumptionVolumeChangeRecord/consumptionVolumeChangeRecord"
				),
			name: "/consumptionVolumeChangeRecord",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/stockRightChangeRecord",
		component: Layout,
		name: "/stockRightChangeRecord",
		meta: {
			title: "股权变动记录",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "/stockRightChangeRecord",
			component: () =>
				import(
					"@/views/stockRightChangeRecord/stockRightChangeRecord"
				),
			name: "/stockRightChangeRecord",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/healthScoreChangeRecord",
		component: Layout,
		name: "/healthScoreChangeRecord",
		meta: {
			title: "健康分变动记录",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "/healthScoreChangeRecord",
			component: () =>
				import(
					"@/views/healthScoreChangeRecord/healthScoreChangeRecord"
				),
			name: "/healthScoreChangeRecord",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/healthDivision",
		component: Layout,
		name: "/healthDivision",
		meta: {
			title: "健康分专区",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "/healthDivision",
			component: () =>
				import(
					"@/views/healthDivision/healthDivision"
				),
			name: "/healthDivision",
			meta: {
				affix: true
			},
		}, ],
	},
	{
		path: "/healthSubPrice",
		component: Layout,
		name: "/healthSubPrice",
		meta: {
			title: "健康分价格",
			icon: "el-icon-s-help"
		},
		children: [{
			path: "/healthSubPrice",
			component: () =>
				import(
					"@/views/healthSubPrice/healthSubPrice"
				),
			name: "/healthSubPrice",
			meta: {
				affix: true
			},
		}, ],
	},


];
